# 学生成绩数据
students = [
    {"name": "Alice", "score": 85},
    {"name": "Bob", "score": 55},
    {"name": "Charlie", "score": 95},
    {"name": "David", "score": 45},
    {"name": "Eve", "score": 72}
]

l1 = [s["name"] for s in students if s["score"] >= 60]
print(l1)

dict1 = {s["name"]: s["score"] for s in students}
print(dict1)
